home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / loadperf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  1.4 KB  |  74 lines

  1. /*++
  2.  
  3. Copyright (C) 1995-1996 Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     loadperf.h
  8.  
  9. Abstract:
  10.  
  11.     Header file for the Performance Monitor counter string installation
  12.     and removal functions.
  13.  
  14. Revision History
  15.  
  16.     16-Nov-95   Created (a-robw)
  17.  
  18. --*/
  19.  
  20. #ifndef _LOADPERF_H_
  21. #define _LOADPERF_H_
  22. #pragma option push -b
  23.  
  24.  
  25. // function prototypes for perf counter name string load & unload functions
  26. // provided in LOADPERF.DLL
  27.  
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31.  
  32. #define LOADPERF_FUNCTION   __declspec(dllexport) LONG __stdcall
  33.  
  34. LOADPERF_FUNCTION
  35. LoadPerfCounterTextStringsA (
  36.     IN  LPSTR   lpAnsiCommandLine,
  37.     IN  BOOL    bQuietModeArg
  38. );
  39.  
  40. LOADPERF_FUNCTION
  41. LoadPerfCounterTextStringsW (
  42.     IN  LPWSTR  lpWideCommandLine,
  43.     IN  BOOL    bQuietModeArg
  44. );
  45.  
  46. LOADPERF_FUNCTION
  47. UnloadPerfCounterTextStringsW (
  48.     IN  LPWSTR  lpWideCommandLine,
  49.     IN  BOOL    bQuietModeArg
  50. );
  51.  
  52. LOADPERF_FUNCTION
  53. UnloadPerfCounterTextStringsA (
  54.     IN  LPSTR   lpAnsiCommandLine,
  55.     IN  BOOL    bQuietModeArg
  56. );
  57.  
  58. #ifdef UNICODE
  59. #define LoadPerfCounterTextStrings      LoadPerfCounterTextStringsW
  60. #define UnloadPerfCounterTextStrings    UnloadPerfCounterTextStringsW
  61. #else
  62. #define LoadPerfCounterTextStrings      LoadPerfCounterTextStringsA
  63. #define UnloadPerfCounterTextStrings    UnloadPerfCounterTextStringsA
  64. #endif
  65.  
  66.  
  67. #ifdef __cplusplus
  68. }
  69. #endif
  70.  
  71.  
  72. #pragma option pop
  73. #endif // _LOADPERF_H_
  74.